package com.heima.demo;

public class TestMyticket {
    public static void main(String[] args) {
        MyTicket mt = new MyTicket();
        Thread t1 = new Thread(mt, "窗口一");
        t1.start();
        Thread t2 = new Thread(mt, "窗口二");
        t2.start();
        Thread t3 = new Thread(mt, "窗口三");
        t3.start();
    }
}
